package com.joysuch.wwyt.openapi.controllers.controllerV1.req;

import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

/**
 * @author: JamesZY
 * @date: 2021/8/25
 * @description:
 */
@Data
public class ApiV1QueryListReq extends ApiV1PagePropertyReq implements Serializable {

    private static final long serialVersionUID = -8660229894790269408L;

    @Pattern(regexp = "2[0-9]{3}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}", message = "开始时间格式错误")
    private String startUpdateTime;

    @Pattern(regexp = "2[0-9]{3}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}", message = "截止时间格式错误")
    private String endUpdateTime;

    private String uniqueId;
}
